/*
 * Copyright 2016 Wealth Inc. All rights reserved.
 */
 package com.wealth.order.service;

import com.wealth.commodity.entity.Goods;
import com.wealth.order.entity.Order;
import com.wealth.order.entity.VoucherRecord;

import iaas.service.IBaseService;
import iaas.utils.ResultObject;

/**
 * @author chan
 * @version 1.0
 * @since 1.0
 */
 
public interface IVoucherRecordService extends IBaseService<VoucherRecord>{
	
	/** ---------------- 微信端 ---------------- */
	/** 生成 代金券 */
	public void generateVoucherRecord(Order order) throws Exception;
	
	/** 扫码二维码 验证代金券 */
	public ResultObject validVoucherRecord(Long memberid,Long merchantid,String code)  throws Exception;
	/** 生成 代金券 */
	public void saveVoucherRecord(Order order);
}
